package com.suzj.extraenchantments.enchant.Ench_01;

import com.suzj.extraenchantments.Config;



import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.item.enchantment.Enchantment;
import net.minecraft.world.item.enchantment.EnchantmentCategory;


public class EnchantmentInlaidHarp extends Enchantment {
    public EnchantmentInlaidHarp() {
        super(Enchantment.Rarity.UNCOMMON, EnchantmentCategory.ARMOR_HEAD,  new EquipmentSlot[]{EquipmentSlot.HEAD});
    }

    public int getMaxLevel() {
        if (((Boolean) Config.SERVER.isInlaidHarp.get()).booleanValue()) {
            return 3;
        }
        return 0;
    }

    public int getMinCost(int p_77321_1_) {
        return 30;
    }

    public int getMaxCost(int p_223551_1_) {
        return 50;
    }
}